package com.micro.modual.model.bo.systemresourceauth;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author LevelCoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020/6/11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleMenuBindBO {

    /**
     * 角色编号
     */
    private String roleCode;

    /**
     * 菜单编号列表
     */
    private List<BindMenu> bindMenuList;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class BindMenu {

        /**
         * 菜单编号
         */
        private String menuCode;

        /**
         * 授权编号
         */
        private String authCode;
    }

}
